package com.dongchen.designpatter.chapter05.methodfactory.sample01;

import lombok.extern.slf4j.Slf4j;

/**
 * @author dongchen
 * @time 2021/9/17
 */
@Slf4j
public class HisenceFacotry implements TVFactory {
    public TV productTV() {
        log.info("it's producing HisenceTV!");
        return new HaierTV();
    }
}
